.class public Lcom/estrongs/android/view/c0;
.super Lcom/estrongs/android/view/h0;
.source "ProgressView.java"


# instance fields
.field e:Z

.field public final f:Landroid/os/Handler;

.field public final g:Les/w80;

.field private h:Landroid/widget/ProgressBar;

.field public i:Landroid/widget/TextView;

.field public j:Landroid/widget/TextView;

.field public k:Landroid/widget/TextView;

.field public l:Landroid/widget/TextView;

.field public m:Landroid/widget/TextView;

.field private n:Landroid/view/View;

.field private o:Landroid/view/View;

.field private p:I

.field private q:I

.field private r:I

.field private s:Ljava/lang/String;

.field private t:Z

.field private u:I

.field private v:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/view/ViewGroup;Ljava/lang/String;)V
    .locals 3

    const/4 v0, 0x1

    const/4 v1, 0x0

    if-nez p2, :cond_0

    const/4 v2, 0x1

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    .line 1
    :goto_0
    invoke-direct {p0, p1, p2, v2}, Lcom/estrongs/android/view/h0;-><init>(Landroid/content/Context;Landroid/view/ViewGroup;Z)V

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/view/c0;->e:Z

    .line 3
    new-instance p1, Lcom/estrongs/android/view/c0$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/view/c0$a;-><init>(Lcom/estrongs/android/view/c0;)V

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    .line 4
    new-instance p1, Lcom/estrongs/android/view/c0$b;

    invoke-direct {p1, p0}, Lcom/estrongs/android/view/c0$b;-><init>(Lcom/estrongs/android/view/c0;)V

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->g:Les/w80;

    .line 5
    iput v1, p0, Lcom/estrongs/android/view/c0;->q:I

    .line 6
    iput v1, p0, Lcom/estrongs/android/view/c0;->r:I

    const p1, 0x7f0907bc

    .line 7
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->i:Landroid/widget/TextView;

    const p1, 0x7f090931

    .line 8
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ProgressBar;

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->h:Landroid/widget/ProgressBar;

    const p1, 0x7f090917

    .line 9
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->j:Landroid/widget/TextView;

    const p1, 0x7f090244

    .line 10
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->k:Landroid/widget/TextView;

    const p1, 0x7f090bea

    .line 11
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->l:Landroid/widget/TextView;

    const p1, 0x7f090af7

    .line 12
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->m:Landroid/widget/TextView;

    const p1, 0x7f090481

    .line 13
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->n:Landroid/view/View;

    const p1, 0x7f090482

    .line 14
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/view/c0;->o:Landroid/view/View;

    if-eqz p3, :cond_1

    .line 15
    iput-boolean v0, p0, Lcom/estrongs/android/view/c0;->t:Z

    .line 16
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->i:Landroid/widget/TextView;

    invoke-virtual {p1, p3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 17
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->i:Landroid/widget/TextView;

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setSingleLine(Z)V

    :cond_1
    return-void
.end method

.method private a(JJ)D
    .locals 3

    const-wide/16 v0, 0x0

    cmp-long v2, p3, v0

    if-nez v2, :cond_0

    const-wide/high16 p1, 0x3ff0000000000000L    # 1.0

    return-wide p1

    :cond_0
    long-to-float p1, p1

    long-to-float p2, p3

    div-float/2addr p1, p2

    const/high16 p2, 0x42c80000    # 100.0f

    mul-float p1, p1, p2

    .line 10
    new-instance p2, Ljava/math/BigDecimal;

    float-to-double p3, p1

    invoke-direct {p2, p3, p4}, Ljava/math/BigDecimal;-><init>(D)V

    const/4 p1, 0x2

    const/4 p3, 0x4

    .line 11
    invoke-virtual {p2, p1, p3}, Ljava/math/BigDecimal;->setScale(II)Ljava/math/BigDecimal;

    move-result-object p1

    invoke-virtual {p1}, Ljava/math/BigDecimal;->doubleValue()D

    move-result-wide p1

    return-wide p1
.end method

.method static synthetic a(Lcom/estrongs/android/view/c0;JJ)D
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/estrongs/android/view/c0;->a(JJ)D

    move-result-wide p0

    return-wide p0
.end method

.method static synthetic a(Lcom/estrongs/android/view/c0;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/view/c0;->q:I

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/view/c0;Z)Z
    .locals 0

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/android/view/c0;->t:Z

    return p1
.end method

.method static synthetic b(Lcom/estrongs/android/view/c0;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/c0;->n:Landroid/view/View;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/view/c0;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/view/c0;->v:I

    return p0
.end method

.method static synthetic d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/c0;->h:Landroid/widget/ProgressBar;

    return-object p0
.end method

.method static synthetic e(Lcom/estrongs/android/view/c0;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/view/c0;->r:I

    return p0
.end method

.method static synthetic f(Lcom/estrongs/android/view/c0;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/c0;->o:Landroid/view/View;

    return-object p0
.end method

.method static synthetic g(Lcom/estrongs/android/view/c0;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/view/c0;->p:I

    return p0
.end method

.method static synthetic h(Lcom/estrongs/android/view/c0;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/view/c0;->t:Z

    return p0
.end method

.method static synthetic i(Lcom/estrongs/android/view/c0;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/c0;->s:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic j(Lcom/estrongs/android/view/c0;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/view/c0;->u:I

    return p0
.end method


# virtual methods
.method protected a(Les/w80$a;)Ljava/lang/String;
    .locals 1

    .line 8
    iget-object v0, p1, Les/w80$a;->a:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 9
    iget-object p1, p1, Les/w80$a;->a:Ljava/lang/String;

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    return-object p1

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(J)V
    .locals 0

    long-to-int p2, p1

    .line 6
    iput p2, p0, Lcom/estrongs/android/view/c0;->u:I

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    const/4 p2, 0x7

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/view/c0;->s:Ljava/lang/String;

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    const/4 v0, 0x5

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method public b(J)V
    .locals 0

    long-to-int p2, p1

    .line 2
    iput p2, p0, Lcom/estrongs/android/view/c0;->v:I

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    const/16 p2, 0x8

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method public c(J)V
    .locals 0

    long-to-int p2, p1

    .line 2
    iput p2, p0, Lcom/estrongs/android/view/c0;->q:I

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    const/4 p2, 0x1

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method public d(J)V
    .locals 0

    long-to-int p2, p1

    .line 2
    iput p2, p0, Lcom/estrongs/android/view/c0;->r:I

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    const/4 p2, 0x4

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method public e(I)V
    .locals 1

    .line 2
    iput p1, p0, Lcom/estrongs/android/view/c0;->p:I

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    const/4 v0, 0x3

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method protected k()I
    .locals 1

    const v0, 0x7f0c02e9

    return v0
.end method

.method public l()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/c0;->f:Landroid/os/Handler;

    const/4 v1, 0x6

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method
